Skip to content

feat(publish): update publish workflow#1678

Draft
demosdemon wants to merge 1 commit intomainfrom
brandon.leblanc/cargo-publish-token
Draft

feat(publish): update publish workflow#1678
demosdemon wants to merge 1 commit intomainfrom
brandon.leblanc/cargo-publish-token

Conversation

@demosdemon
Copy link
Contributor

This change updates the publish workflow to support tagging with the ${packageName}/v${version} format so that we can publish packages independent of each other now that we are not bumping the version of all packages at the same time. This also adds a script to parse the output of cargo metadata to get the correct package name and version for all packages in the workspace. This is used to validate the tag before publishing to ensure that we are only publishing the package that we intend to publish.

Also updated is the attach-static-libs workflow to only trigger on the firewood-ffi release tag since that is the only package that triggers an update to the Go wrapper module.

Closes: #1560
Closes: #1561

This change updates the publish workflow to support tagging with the
`${packageName}/v${version}` format so that we can publish packages
independent of each other now that we are not bumping the version of all
packages at the same time. This also adds a script to parse the output
of `cargo metadata` to get the correct package name and version for all
packages in the workspace. This is used to validate the tag before
publishing to ensure that we are only publishing the package that we
intend to publish.

Also updated is the `attach-static-libs` workflow to only trigger on the
`firewood-ffi` release tag since that is the only package that triggers
an update to the Go wrapper module.

Closes: #1560
Closes: #1561
@demosdemon demosdemon force-pushed the brandon.leblanc/cargo-publish-token branch from 6ddea2f to 7f4fa7f Compare February 12, 2026 19:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

publish: publish only unpublished crates publish: use CARGO_REGISTRY_TOKEN env variable instead of cargo login

1 participant